<template>
    <div class="settle">
      <section>
          <van-icon name="arrow-left" @click="goLuckyDraw()" class="section_header"/>
        <div class="section_head">
          <img src="../../assets/images/greenFinance/32.png">
          <img src="../../assets/images/greenFinance/33.png">
          <img src="../../assets/images/greenFinance/34.png">
          <img src="../../assets/images/greenFinance/35.png">
          <img src="../../assets/images/greenFinance/36.png">
          <img src="../../assets/images/greenFinance/37.png">
        </div>
      </section>

    </div>
</template>

<script>
    export default {
        name: "settle",
      data() {
        return {

        };
      },

      mounted() {


      },
      methods: {

        //  返回上一层
        goLuckyDraw() {
          let u = navigator.userAgent;
          let isAndroid = u.indexOf("Android") > -1 || u.indexOf("Adr") > -1; //android终端
          let isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
          if (isAndroid) {
            console.warn("finish");
          } else if (isiOS) {
            window.webkit.messageHandlers.tourismBackToApp.postMessage(null);
          }
        },



      }
    }
</script>

<style scoped>
  .settle{width: 100%;}
  .section_header{position: absolute;top:0.1rem;left: 0.1rem;font-size: 0.3rem;z-index: 1;color: #fff;}
  section{width: 100%;font-size: 0;}
  .section_head{width: 100%;position: absolute;top:0;left: 0;}
  .section_head img{width: 100%;}

</style>
